<input type="hidden" name="user_id" id="user_id" value="{{$uid}}">
<div class="form-group">
    <label class="col-md-12 control-label title_left">标题</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="title" id="category" value="{{$title}}" autofocus>
    </div>
</div>
<div class="form-group">
    <label class="col-md-12 control-label title_left">关键字</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="keywords" id="keywords" value="{{$keywords}}" autofocus>
    </div>
</div>
<div class="form-group">
    <label class="col-md-12 control-label title_left">描述</label>
    <div class="col-md-8">
        <input type="text" class="form-control" name="description" id="description" value="{{$description}}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="content" class="col-md-12 title_left control-label">文章内容</label>
    <div id="editormd" class="col-md-12">
        <textarea class="editormd-markdown-textarea form-control" style="display:none;" id="content" name="content">{{$content}}</textarea>
        <textarea class="form-control" style="display:none;"  name="html_content">{{$html_content}}</textarea>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-12 control-label title_left">分类</label>
    <div class="col-md-6">
        @inject('categoryPresenter', 'App\Models\Admin\Category')
        {!! $categoryPresenter->getCateSelect($cate_id) !!}
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-12 control-label title_left">标签</label>
    <div class="col-md-6">
        @inject('tagPresenter', 'App\Models\Admin\Tag')
        {!! $tagPresenter->getTagSelect($tag_id) !!}
    </div>
</div>

